/**
 * ScreenEvent.as
 * @author Aníbal G. Hormeche
 */

package racingGame.events 
{
	import flash.events.Event;
	import racingGame.ui.IStackableScreen;

	
	public class ScreenEvent extends Event
	{
		public static const SCREEN_EXIT :String = "screenExit";
		
		public var nextScreenType :Class;
		
		
		public function ScreenEvent(type :String, nextScreenType :Class = null, bubbles :Boolean = true, cancelable :Boolean = false) 
		{
			super(type, bubbles, cancelable);
			this.nextScreenType = nextScreenType;
		}
		
	}

}